<template>
  <div
    class="w-full inline-block p-4 border border-0 border-gray-800 hover:bg-gray-800 cursor-pointer"
  >
    <component :is="`app-tweet-variant-${tweet.type}`" :tweet="tweet" />
  </div>
</template>

<script>
export default {
  props: {
    tweet: {
      required: true,
      type: Object,
    },
  },
};
</script>
